package krt.wid.gslzs.bean;

import java.util.List;

/**
 * @author Marcus
 * @package krt.wid.tour_gz.bean
 * @description
 * @time 2017/10/23
 */

public class CityEntiy {

    /**
     * city : [{"county":[{"code":"110101","name":"东城区"},{"code":"110102","name":"西城区"},{"code":"110103","name":"崇文区"},{"code":"110104","name":"宣武区"},{"code":"110105","name":"朝阳区"},{"code":"110106","name":"丰台区"},{"code":"110107","name":"石景山区"},{"code":"110108","name":"海淀区"},{"code":"110109","name":"门头沟区"},{"code":"110111","name":"房山区"},{"code":"110112","name":"通州区"},{"code":"110113","name":"顺义区"},{"code":"110114","name":"昌平区"},{"code":"110115","name":"大兴区"},{"code":"110116","name":"怀柔区"},{"code":"110117","name":"平谷区"}],"name":"市直辖区"}]
     * name : 北京市
     */

    private String name;
    private List<CityBean> city;

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public List<CityBean> getCity() {
        return city;
    }

    public void setCity(List<CityBean> city) {
        this.city = city;
    }


    public static class CityBean {
        /**
         * county : [{"code":"110101","name":"东城区"},{"code":"110102","name":"西城区"},{"code":"110103","name":"崇文区"},{"code":"110104","name":"宣武区"},{"code":"110105","name":"朝阳区"},{"code":"110106","name":"丰台区"},{"code":"110107","name":"石景山区"},{"code":"110108","name":"海淀区"},{"code":"110109","name":"门头沟区"},{"code":"110111","name":"房山区"},{"code":"110112","name":"通州区"},{"code":"110113","name":"顺义区"},{"code":"110114","name":"昌平区"},{"code":"110115","name":"大兴区"},{"code":"110116","name":"怀柔区"},{"code":"110117","name":"平谷区"}]
         * name : 市直辖区
         */

        private String name;
        private List<CountyBean> county;

        public String getName() {
            return name;
        }

        public void setName(String name) {
            this.name = name;
        }

        public List<CountyBean> getCounty() {
            return county;
        }

        public void setCounty(List<CountyBean> county) {
            this.county = county;
        }

        public static class CountyBean {
            /**
             * code : 110101
             * name : 东城区
             */

            private String code;
            private String name;

            public String getCode() {
                return code;
            }

            public void setCode(String code) {
                this.code = code;
            }

            public String getName() {
                return name;
            }

            public void setName(String name) {
                this.name = name;
            }
        }
    }
}
